package org.example.service;

import org.example.controller.back.UmsRecodes;
import org.example.pojo.UmsRuleRelate;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wy
 * @since 2023-10-05
 */
public interface IUmsRuleRelateService extends IService<UmsRuleRelate> {
    Object getResult(List<String> causes);
    boolean reverseIsOrNo(String result, List<String> causes);
    List<UmsRecodes> getDetails(List<String> causes, Set<Integer> set);
    List<UmsRecodes> getReverseRecodes(String result, List<String> causes);
    List<UmsRecodes> getReverseRecodes(String result, Set<Integer> set);
    List<UmsRecodes> getBidrection(List<String> right, String left);
    boolean updateByRuleId(Integer ruleId);
    boolean updateByIdTest(UmsRuleRelate ruleRelate);
    Object list(UmsRuleRelate rule);
    boolean batchdel(Integer[] ids);
}
